package io.renren.modules.substation.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 告警阈值配置表
 * 
 * @author yzx
 * @email sunlightcs@gmail.com
 * @date 2020-06-19 16:55:28
 */
@Data
@TableName("T_INFO_ALARM_CONFIG")
public class TInfoAlarmConfigEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	@TableId
	private Long id;
	/**
	 * 设备编号
	 */
	private String devCode;
	@TableField(exist=false)
	private int countNum;
	/**
	 * 监测变量编号
	 */
	private String variableCode;

	private String variableName;

	/**
	 * 检测变量下限
	 */
	private String variableMin;
	/**
	 * 检测变量上限
	 */
	private String variableMax;
	/**
	 * 是否启用:0-不启用;1-启用
	 */
	private String isVaild;
	/**
	 * 创建人
	 */
	private Long createOpr;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 更新人
	 */
	private Long lastOpr;
	/**
	 * 更新时间
	 */
	private Date lastTime;

	private String healthStatus;

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getDevCode() {
		return devCode;
	}

	public void setDevCode(String devCode) {
		this.devCode = devCode;
	}

	public String getVariableCode() {
		return variableCode;
	}

	public void setVariableCode(String variableCode) {
		this.variableCode = variableCode;
	}

	public String getVariableMin() {
		return variableMin;
	}

	public void setVariableMin(String variableMin) {
		this.variableMin = variableMin;
	}

	public String getVariableMax() {
		return variableMax;
	}

	public void setVariableMax(String variableMax) {
		this.variableMax = variableMax;
	}

	public String getIsVaild() {
		return isVaild;
	}

	public void setIsVaild(String isVaild) {
		this.isVaild = isVaild;
	}

	public Long getCreateOpr() {
		return createOpr;
	}

	public void setCreateOpr(Long createOpr) {
		this.createOpr = createOpr;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getLastOpr() {
		return lastOpr;
	}

	public void setLastOpr(Long lastOpr) {
		this.lastOpr = lastOpr;
	}

	public Date getLastTime() {
		return lastTime;
	}

	public void setLastTime(Date lastTime) {
		this.lastTime = lastTime;
	}

	public String getVariableName() {
		return variableName;
	}

	public void setVariableName(String variableName) {
		this.variableName = variableName;
	}
}
